<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../Public/css/basic.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/manage.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="../Public/js/level.js"></script>
<title></title>
</head>
<body id="main">
    <h2>信息属性设置 -- 属性列表<a href="__URL__/add"><span class="add">+</span>添加属性</a></h2>
    <div id="search">{$searchform}</div>
    <form method="post" action="__URL__/mulDelete">
        <table>
            <tr><th>选择</th><th>属性名称</th><th>属性别名</th><th>属性类型</th><th>操作</th></tr>
            <volist name="allattr" id="value" empty="$empty">
                <tr><td><input type="checkbox" name="select[]" value="{$value.id}"/></td><td>{$value.name}</td><td>{$value.nickname}</td>
                <if condition="$value['type'] eq 1">
                    <td>下拉框类型</td>
                <elseif  condition="$value['type'] eq 2"/>
                    <td>复选框类型</td>
                <elseif condition="$value['type'] eq 3"/>
                    <td>单选框类型</td>
                <else/>
                    <td>文本框类型</td>
                </if>
                <td><a href="__URL__/update/id/{$value.id}"><img src="../Public/images/edit2.gif" title="修改"/></a>　<a href="__URL__/delete/id/{$value.id}"><img src="../Public/images/drop.gif" title="删除" onclick="javascript:return confirm('确认删除?') ? true : false;"/></a></td></tr>
            </volist>
            <tr><td colspan="6" style="padding-right:900px;" ><input type="button" value="全选" id="all"/><input type="button" value="反选" id="cancel"/>　<input type="submit" value="批量删除" onclick="javascript:return confirm('确认删除?') ? true : false;"/></td></tr>
        </table>
    </form>
    <div id="page">
        {$page}
    </div>
</body>
</html>